package com.bigbee.foundation;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;

import org.apache.poi.ss.formula.functions.T;

public class collectionTest {
	 Collection c = new ArrayList();
	 
	 Collection c2 = new HashSet();
	
	 Collection c3 = (Collection) new HashMap(); 
	 
	 List<T> list = new ArrayList<T>();
	 
	 public static void main(String[] args) {
		
		 String a = "abc";
		 String b = "ab"+"c";
		 System.out.println( a==b );//true
		 
		 String c = new String("abc");
		 a.equals(c);
		 System.out.println(a == c);//false
	}
	 
}
